using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for Category
/// </summary>
public class Category
{


	/// <summary>
    /// Fields of Category
    /// </summary>
    #region Fields
    int id;   
    string name;       
    bool state;
    DateTime modifiedDate;   
    int modifiedBy;
    
    #endregion

    /// <summary>
    /// Properties of Category
    /// </summary>
    #region Properties
    public int Id
    {
        get { return id; }
        set { id = value; }
    }
    public string Name
    {
        get { return name; }
        set { name = value; }
    }    
    public DateTime ModifiedDate
    {
        get { return modifiedDate; }
        set { modifiedDate = value; }
    }
    public int ModifiedBy
    {
        get { return modifiedBy; }
        set { modifiedBy = value; }
    } 
 
    public bool State
    {
        get { return state; }
        set { state = value; }
    }
    #endregion

    /// <summary>
    /// Constructures Category
    /// </summary>
    #region Constructures
    public Category()
    {
        id = 0;
        name = "";          
        modifiedBy = 0;
        modifiedDate = new DateTime();           
        state = false;
    }
    public Category(int id, string name, DateTime modifiedDate, int modifiedBy)
	{
        this.id = id;
        this.name = name;    
        this.modifiedBy = modifiedBy;
        this.modifiedDate = modifiedDate;
        this.state = false;
    }

    #endregion

    
}
